package com.test.ws.s1.service;

import com.test.ws.s1.bean.Imgs;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface ImagsService {
    /// 查询附图
    public ArrayList<Imgs> selectImgs(String id,String name);
    /// 添加附图
    public int insertImgs(String id,Imgs imgs);
    /// 修改
    int updateImgs(@Param("routeId") String id, @Param("img") Imgs imgs);
    /// 回显
    public Imgs selectImgsById(@Param("routeId") String id);
    /// 删除
    public int deleteImgs(@Param("routeId") String id);
    /// 查看轮播
    public ArrayList<Imgs> selectImgsLunBo();

    /// 前台附图查看
    public ArrayList<Imgs> selectImgsCha(int id);
}
